#Requires AutoHotkey v2.0

; 配置文件路径
configFile := "test63.ini"

; 读取配置文件
sourceFolder := IniRead(configFile, "Settings", "source_folder", "")
destinationFolder := IniRead(configFile, "Settings", "destination_folder", "")

; 显示读取的值
MsgBox "Source Folder: " sourceFolder "`nDestination Folder: " destinationFolder

; 检查是否成功读取
if (sourceFolder = "" or destinationFolder = "") {
    MsgBox "Error reading configuration file or missing values."
} else {
    MsgBox "Configuration read successfully."
}
